package org.jash.ting13.book

import androidx.paging.PagingData
import org.jash.ting13.entity.BookDetail
import org.jash.ting13.entity.Chapter

sealed interface BookState {
    data class Success(val book: BookDetail): BookState
    data class Failure(val message:String): BookState
    data class Paging(val data: PagingData<Chapter>): BookState
}